package cn.iocoder.an.module.mold.controller.admin.devcategory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 设备分类 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DevCategoryRespVO {

    @Schema(description = "设备id", requiredMode = Schema.RequiredMode.REQUIRED, example = "28070")
    @ExcelProperty("设备id")
    private Long id;

    @Schema(description = "启用状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("启用状态")
    private Integer status;

    @Schema(description = "编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("编码")
    private String code;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "保养类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("保养类型")
    private Long upkeepCategory;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String description;

    @Schema(description = "父id", requiredMode = Schema.RequiredMode.REQUIRED, example = "8685")
    @ExcelProperty("父id")
    private Long parentId;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}